package com.four.marketing.service;

import com.four.marketing.entity.Seckill;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 侯新伟
 * @since 2021-12-14
 */
public interface SeckillService extends IService<Seckill> {

    /**
     * 添加秒杀商品
     * @param seckill
     */
    void addSeckill(Seckill seckill);

    Seckill findSeckillId(Integer seId);

    void updateSeckill(Seckill seckill);

    void deleteById(Integer id);
}
